import http from "@/utils/http";
export const getList = (params) => {
  return http.post("/xtxx/sysMessageList", params);
};

export const getUnreadList = (params) => {
  return http.get("/xtxx/unreadSysMessage", params);
};
export const getReadList = (params) => {
  return http.get("/xtxx/readSysMessage", params);
};

export const updateSysMessage = (params) => {
  return http.post("/xtxx/updateSysMessage", params);
};

export const updateAllRead = (params) => {
  return http.post("/xtxx/updateAllRead", params);
};



